package com.example.service;

import com.example.common.base.service.BaseService;
import com.example.common.utils.ApiResult;
import com.example.model.entity.Person;
import com.example.model.entity.Supplies;
import com.example.model.query.PersonQuery;
import com.example.model.query.SuppliesQuery;
import com.example.model.query.SuppliesTypeQuery;
import com.example.model.vo.SuppliesVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;


public interface PersonService extends BaseService<Person> {

    Map<Boolean, String> imgUpload(HttpServletRequest request, HttpServletResponse response, MultipartFile file);

    /**
     * 用户信息分页查询
     *
     * @param query
     * @return
     */
    ApiResult<PersonQuery> pageUserVoByQuery(PersonQuery query) throws Exception;
}
